package com.yuandian.api.business_monitor.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.yuandian.po.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * <p>
 * 单步资源关系表
 * </p>
 *
 * @author fucx
 * @since 2020-09-14
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class SingleResourceItRelationship extends BaseEntity {

    private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 单步业务资源编码/加载项业务资源编码
     */
    private String singleResourceCoding;

    /**
     * 前端业务资源编码
     */
    private String beforeBusinessResourceCoding;

    /**
     * 当前端业务资源编码
     */
    private String afterBusinessResourceCoding;

    /**
     * 发现时间
     */
    private Date startTime;

    /**
     * 匹配率：百分比
     */
    private int matching;

    /**
     * 发现总量
     */
    private Integer findTotal;

    /**
     * 匹配成功量
     */
    private Integer matchAmount;

    /**
     * 最后一次统计时间
     */
    private Date endTime;

    /**
     * 确认状态 0：否 1：是
     */
    private Integer isStatus;

    /**
     * 创建人
     */
    private String creater;

    /**
     * 修改人
     */
    private String modifier;

    /**
     * 修改时间
     */
    private Date modifierTime;

    /**
     * 后端id
     */
    private Integer afterSegmentId;

    /**
     * 前端id
     */
    private Integer beforeSegmentId;


    private List<Integer> list;


    private Integer afterStudyStage; //后端资源学习状态
    private String beforeIdentifyCharacter;
    private String afterIdentifyCharacter;
    private Integer countAllBeforeByAfter;
    private Integer countBeforeByAfter;

    private int 			page;// 页数
    private int 			pagesize;// 条数
    private String 			sorting = "DESC";// 排序方式(DEFAUL DESC)
    private String 			sortingname = "id";// 排序字段(DEFAUL ID)
    private long 			count = 0;// 总条数
    private int 			totalPage = 1; // 总页数
     private List<String> 	stringlist = new ArrayList<String>();// 用来批量修改删除保存cord
    private Date   			queryStartTime;	//查询开始时间条件
    private Date   			queryEndTime;	//查询结束时间条件
    private String          networkMonitors;  //版本控制
    private long             total;//总数




    @Override
	public String toString() {
		return "SingleResourceItRelationship [id=" + id + ", singleResourceCoding=" + singleResourceCoding
				+ ", beforeBusinessResourceCoding=" + beforeBusinessResourceCoding + ", afterBusinessResourceCoding="
				+ afterBusinessResourceCoding + ", startTime=" + startTime + ", matching=" + matching + ", findTotal=" + findTotal
				+ ", matchAmount=" + matchAmount + ", endTime=" + endTime + ", isStatus=" + isStatus + ", creater=" + creater
				+ ", modifier=" + modifier + ", modifierTime=" + modifierTime + ", afterSegmentId=" + afterSegmentId
				+ ", beforeSegmentId=" + beforeSegmentId + "]";
	}

}
